package com.aptech.bean;

/*
 * 用户信息表
 */
public class Users {
	
	private Integer id ;
	//用户名
	private Integer userName;
	
	//密码
	private String password;
	
	//权限 1:普通用户  2:经理
	private Integer authority;
	
	//用户姓名
	private String name;
	
	//用户昵称
	private String nickName;
	
	//年龄
	private Integer age;
	
	//性别
	private Integer sex;
	
	//手机号码
	private String phone;
	
	//地址
	private String address;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserName() {
		return userName;
	}

	public void setUserName(Integer userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getAuthority() {
		return authority;
	}

	public void setAuthority(Integer authority) {
		this.authority = authority;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Override
	public String toString() {
		return "Users [id=" + id + ", userName=" + userName + ", password=" + password + ", authority=" + authority
				+ ", name=" + name + ", nickName=" + nickName + ", age=" + age + ", sex=" + sex + ", phone=" + phone
				+ ", address=" + address + "]";
	}



	

	
	
}
